package com.appkubes.fintech.admin.application.repair.response;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 维修订单
 * @author xqc.
 * @date 	2020/02/05 10:51:16
 */

@Data
public class RepairOrderInfoResponse  {

         @ApiModelProperty(name="维修订单")
         private String id;
         @ApiModelProperty(name="客户ID")
         private String userId;
         @ApiModelProperty(name="客户姓名")
         private String userName;
         @ApiModelProperty(name="订单号")
         private String orderNo;
         @ApiModelProperty(name="设备信息")
         private String deviceInfo;
         @ApiModelProperty(name="预估价格")
         private BigDecimal prePrice;
         private BigDecimal peoplePrice;
         @ApiModelProperty(name="手机平板IEe")
         private String iem;
         @ApiModelProperty(name="维修方式")
         private String repairType;
         @ApiModelProperty(name="收件人姓名")
         private String receiveUserName;
         @ApiModelProperty(name="维修人手机号")
         private String receiveUserPhone;
         @ApiModelProperty(name="维修人地址")
         private String receiveAddress;
         @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
         @ApiModelProperty(name="上门拿货时间")
         private Date takeDeviceTime;
         @ApiModelProperty(name="审批意见")
         private String approvalMsg;
         @ApiModelProperty(name="0申请中 1人工确认 2上门收件 3确认收到 9拒绝")
         private Integer status;
         @ApiModelProperty(name="备注")
         private String remark;
         @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
         @ApiModelProperty(name="创建时间")
         private Date createTime;
         @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
         @ApiModelProperty(name="更新时间")
         private Date updateTime;

         private List<RepairOrderItemResponse> itemList;
}
